package compiler.syntax_tree;

import java.util.Vector;

public class VarDeclarationList
{
    private Vector<VarDeclaration> list;

    public VarDeclarationList()
    {
        list = new Vector<VarDeclaration>();
    }

    public void addElement(VarDeclaration n)
    {
        list.addElement(n);
    }

    public VarDeclaration elementAt(int i)
    {
        return list.elementAt(i);
    }

    public int size()
    {
        return list.size();
    }

}
